<!--首页页面-->
<template>

  <div class="home flexColBox">
    <header class="homeHeader">
      <top-nav />
    </header>
    <section class="homeContent relative">
      <router-view />
    </section>
  </div>
</template>

<script>
import topNav from '../public/topNav.vue';

export default {
  components: {
    'top-nav': topNav,
  },
};
</script>

<style lang="less">
.home {
  width: 100%;
  height: 100%;
  .homeHeader {
    flex: 0 0 auto;
  }
  .homeContent {
    background: #13377b;
    flex: 1;
    overflow-y: auto;
  }
  .homeContent::-webkit-scrollbar {
    display: none;
  }
}
.ivu-card-head {
  padding: 3px 16px !important;
  p {
    height: 29px !important;
    line-height: 29px !important;
  }
}
</style>
